package com.right.health.app.bean;


import com.contrarywind.interfaces.IPickerViewData;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: weming
 * @date: 2021/3/28
 * @description:
 */
public class AreaBean implements IPickerViewData {

    /**
     * isshow : 0
     * areaname : 中国
     * parentid : 0
     * areasid : 1
     * regiontype : 0
     */

    private int isshow;
    private String areaname;
    private int parentid;
    private int areasid;
    private int regiontype;
    private List<AreaBean> mChildList=new ArrayList<>();

    public int getIsshow() {
        return isshow;
    }

    public void setIsshow(int isshow) {
        this.isshow = isshow;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public int getAreasid() {
        return areasid;
    }

    public void setAreasid(int areasid) {
        this.areasid = areasid;
    }

    public int getRegiontype() {
        return regiontype;
    }

    public void setRegiontype(int regiontype) {
        this.regiontype = regiontype;
    }

    public List<AreaBean> getChildList() {
        return mChildList;
    }

    public void setChildList(List<AreaBean> childList) {
        mChildList = childList;
    }

    @Override
    public String getPickerViewText() {
        return areaname;
    }
}
